<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SYMMETRY: http_server::cHttpConnection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SYMMETRY
   </div>
   <div id="projectbrief">CUSTOMHTTPSERVERFORTHESYMMETRYFRAMEWORK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classhttp__server_1_1cHttpConnection.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classhttp__server_1_1cHttpConnection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">http_server::cHttpConnection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for http_server::cHttpConnection:</div>
<div class="dyncontent">
<div class="center"><img src="classhttp__server_1_1cHttpConnection__inherit__graph.png" border="0" usemap="#http__server_1_1cHttpConnection_inherit__map" alt="Inheritance graph"/></div>
<map name="http__server_1_1cHttpConnection_inherit__map" id="http__server_1_1cHttpConnection_inherit__map">
</map>
</div>
<div class="dynheader">
Collaboration diagram for http_server::cHttpConnection:</div>
<div class="dyncontent">
<div class="center"><img src="classhttp__server_1_1cHttpConnection__coll__graph.png" border="0" usemap="#http__server_1_1cHttpConnection_coll__map" alt="Collaboration graph"/></div>
<map name="http__server_1_1cHttpConnection_coll__map" id="http__server_1_1cHttpConnection_coll__map">
<area shape="rect" id="node3" title="STL class. " alt="" coords="421,147,544,224"/><area shape="rect" id="node9" title="STL class. " alt="" coords="172,147,271,224"/><area shape="rect" id="node6" href="classhttp__server_1_1cConnectionManager.html" title="{http_server::cConnection\lManager\n||+ StartConnection()\l+ StopConnection()\l+ StopAllConnections()\l}" alt="" coords="247,446,425,567"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad9175494a963a2e2f7fafb31c24c4783"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9175494a963a2e2f7fafb31c24c4783"></a>
boost::asio::ip::tcp::socket &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetSocket</b> ()</td></tr>
<tr class="separator:ad9175494a963a2e2f7fafb31c24c4783"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0559eb591a884a16d90f2e061a5530f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0559eb591a884a16d90f2e061a5530f6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>HandleClient</b> ()</td></tr>
<tr class="separator:a0559eb591a884a16d90f2e061a5530f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad4d12163015ab391b40bb15b9a5ecb0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aad4d12163015ab391b40bb15b9a5ecb0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>HandleRequest</b> (const boost::system::error_code &amp;error)</td></tr>
<tr class="separator:aad4d12163015ab391b40bb15b9a5ecb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37b521633163cac94a61206a92d62b2a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37b521633163cac94a61206a92d62b2a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>HandleExistingSession</b> (<a class="el" href="classhttp__server_1_1cResponse.html">cResponse</a> &amp;response, const <a class="el" href="classhttp__server_1_1cRequest.html">cRequest</a> &amp;_request, const std::size_t ses_id)</td></tr>
<tr class="separator:a37b521633163cac94a61206a92d62b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a128cc40027898c87335516147b767b87"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a128cc40027898c87335516147b767b87"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>HandleWriteResponse</b> (const boost::system::error_code &amp;error)</td></tr>
<tr class="separator:a128cc40027898c87335516147b767b87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac06a1408cb3b2e20e08817858e45443"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac06a1408cb3b2e20e08817858e45443"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Stop</b> ()</td></tr>
<tr class="separator:aac06a1408cb3b2e20e08817858e45443"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a03b465f45c06bcc42c3a4e771ab00395"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03b465f45c06bcc42c3a4e771ab00395"></a>
static connection_ptr&#160;</td><td class="memItemRight" valign="bottom"><b>Create</b> (boost::asio::io_service &amp;io_service, <a class="el" href="classhttp__server_1_1cConnectionManager.html">cConnectionManager</a> &amp;conn_manager)</td></tr>
<tr class="separator:a03b465f45c06bcc42c3a4e771ab00395"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a233c74cfb8a64cfb93be34e2fca92741"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a233c74cfb8a64cfb93be34e2fca92741"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>ClearSessions</b> ()</td></tr>
<tr class="separator:a233c74cfb8a64cfb93be34e2fca92741"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
Private Types</h2></td></tr>
<tr class="memitem:a0a5b09ba857189a7f7179096fdb15c09"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a5b09ba857189a7f7179096fdb15c09"></a>
typedef boost::shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="classhttp__server_1_1cHttpConnection.html">cHttpConnection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>connection_ptr</b></td></tr>
<tr class="separator:a0a5b09ba857189a7f7179096fdb15c09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9397e5ddda8ff786ce54e693268778bc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9397e5ddda8ff786ce54e693268778bc"></a>
typedef std::map&lt; std::size_t, <br class="typebreak"/>
engine::cSession * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>sessions_map</b></td></tr>
<tr class="separator:a9397e5ddda8ff786ce54e693268778bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a8b0305459f933592f64fab2e3289dd54"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b0305459f933592f64fab2e3289dd54"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>cHttpConnection</b> (boost::asio::io_service &amp;io_service, <a class="el" href="classhttp__server_1_1cConnectionManager.html">cConnectionManager</a> &amp;conn_manager)</td></tr>
<tr class="separator:a8b0305459f933592f64fab2e3289dd54"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:a7afc678c519a73cffbe36a7e9009c582"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7afc678c519a73cffbe36a7e9009c582"></a>
static std::size_t&#160;</td><td class="memItemRight" valign="bottom"><b>GetRandUniqueId</b> ()</td></tr>
<tr class="separator:a7afc678c519a73cffbe36a7e9009c582"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:acf6b64550b0e0f8287d7b55a5613ef0f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf6b64550b0e0f8287d7b55a5613ef0f"></a>
boost::asio::ip::tcp::socket&#160;</td><td class="memItemRight" valign="bottom"><b>m_Socket</b></td></tr>
<tr class="separator:acf6b64550b0e0f8287d7b55a5613ef0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0504245e3903f238ff13145a832d4582"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0504245e3903f238ff13145a832d4582"></a>
boost::asio::streambuf&#160;</td><td class="memItemRight" valign="bottom"><b>m_RequestBuf</b></td></tr>
<tr class="separator:a0504245e3903f238ff13145a832d4582"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f99bd0fa66b31461010ef0948fa428f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f99bd0fa66b31461010ef0948fa428f"></a>
boost::asio::streambuf&#160;</td><td class="memItemRight" valign="bottom"><b>m_ResponseBuf</b></td></tr>
<tr class="separator:a6f99bd0fa66b31461010ef0948fa428f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adea2cf9ab3ff28fd70c9a910ef9bfda3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adea2cf9ab3ff28fd70c9a910ef9bfda3"></a>
<a class="el" href="classhttp__server_1_1cConnectionManager.html">cConnectionManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>m_ConnectionManager</b></td></tr>
<tr class="separator:adea2cf9ab3ff28fd70c9a910ef9bfda3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a785dff3fa5be6e114762738aae4d031e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a785dff3fa5be6e114762738aae4d031e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_HttpVersion</b></td></tr>
<tr class="separator:a785dff3fa5be6e114762738aae4d031e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:ac11eca0009278920e9c44541e2923fdd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac11eca0009278920e9c44541e2923fdd"></a>
static sessions_map&#160;</td><td class="memItemRight" valign="bottom"><b>s_Sessions</b></td></tr>
<tr class="separator:ac11eca0009278920e9c44541e2923fdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1b6b9bb43bb406ce4c9e9f027348263"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1b6b9bb43bb406ce4c9e9f027348263"></a>
static engine::cEstimator&#160;</td><td class="memItemRight" valign="bottom"><b>s_Estimator</b></td></tr>
<tr class="separator:ae1b6b9bb43bb406ce4c9e9f027348263"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="http__connection_8h_source.html">http_connection.h</a></li>
<li>http_connection.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>http_server</b></li><li class="navelem"><a class="el" href="classhttp__server_1_1cHttpConnection.html">cHttpConnection</a></li>
    <li class="footer">Generated on Tue Feb 25 2014 17:12:15 for SYMMETRY by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
